﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DepartmentAdd.aspx.cs" Inherits="Admin_Department_DepartmentAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>部门添加</title>
    <link href="../../App_Themes/css/admin_css.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td colspan="4">
                    </td>
                </tr>
                <tr>
                    <td colspan="4" style="height: 12px">
                        部门编号 :
                        <asp:TextBox ID="txtDepartmentNo" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtDepartmentNo"
                            Display="Dynamic" ErrorMessage="编号不可以为空"></asp:RequiredFieldValidator><asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtDepartmentNo"
                            Display="Dynamic" ErrorMessage="编号必须为数字" Operator="DataTypeCheck" Type="Integer"></asp:CompareValidator></td>
                </tr>
                <tr>
                    <td colspan="4">
                        添加部门 :
                        <asp:TextBox ID="txtDepartmentName" runat="server" SkinID="textboxSkin"></asp:TextBox><asp:RequiredFieldValidator
                                ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtDepartmentName"
                                ErrorMessage="名称不可以为空" Display="Dynamic"></asp:RequiredFieldValidator>&nbsp;
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <asp:Button
                            ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="确定继续" SkinID="buttonSkin" />
                        <asp:Button ID="btnAddAndReturn" runat="server" OnClick="btnAddAndReturn_Click" Text="确定退出" />
                        <asp:Button ID="btnCancel" runat="server" CausesValidation="False" OnClick="btnCancel_Click"
                            Text="取消" /></td>
                </tr>
                <tr>
                    <td colspan="4" valign="top">
                        &nbsp;</td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
